package com.ivifi.shirodemo.Server;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ivifi.shirodemo.dao.UserMapper;
import com.ivifi.shirodemo.dto.User;

@Service
public class UserSerImp implements UserSer {
    
	@Autowired(required=true)
    UserMapper usermapper;

	@Override
	public void inserUser(User user) {
		usermapper.inserUser(user);

	}

	@Override
	public User selectUser(User user) {
		return usermapper.selectUser(user);
	}

}
